mem_cache issue.

mem_cache issue.

am 15.03.2010 07:56:50 von Sachin Gopal

--001636c927c1a915c50481d1623d
Content-Type: text/plain; charset=ISO-8859-1

Hi,

The environment is OS : CentOS 64 Bit , Apache 2.2.14, compile options :
--enable-proxy-balancer --enable-rewrite --enable-mods-shared=all
--enable-logio --enable-deflate --enable-ssl --enable-proxy
--enable-proxy-http --enable-modules=all --enable-cache --enable-disk-cache
--enable-mem-cache. This compiles successfully .


We did a virtualhost setup on the same . the actual site is on Zope and we
are using virtualhosting on apache and doing proxypass which works great .
we are using mod_cache and mod_mem_cache on the same hosted site to get the
proxy contents (like images/js/css) to be cached from a particular URL which
are actually on Zope hosted application.


MCacheMaxObjectCount 13001
MCacheMaxObjectSize 6400000
MCacheMaxStreamingBuffer 65536
MCacheSize 700000
CacheEnable mem /views/jscript
CacheEnable mem /views/styles
CacheEnable mem /views/Images
CacheEnable mem /images



The intension here is to cache the javascript , Images , CSS , which is not
working .Do we need to change on apache configuration to achive mem_cache
working with proxypass. We used ab to test this. Can anybody point out what
we are missing here.

--Sachin Gopalkrishnan

--001636c927c1a915c50481d1623d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,

The environment is=A0 OS : CentOS 64 Bit ,=20
Apache 2.2.14, compile options :
--enable-proxy-balancer --enable-rewrite --enable-mods-shared=3Dall
--enable-logio --enable-deflate --enable-ssl --enable-proxy
--enable-proxy-http --enable-modules=3Dall --enable-cache
--enable-disk-cache --enable-mem-cache. This compiles=A0 successfully . >



=A0 We did a virtualhost setup on the same .=20
the actual site is on Zope and we are using virtualhosting on apache and
doing proxypass which works great .=20
we
are using mod_cache and mod_mem_cache on the same hosted site to get
the proxy contents (like images/js/css) to be cached from a particular
URL which are actually on Zope hosted application.




<IfModule mod_mem_cache.c>

MCacheMaxObjectCount 13001

MCacheMaxObjectSize 6400000

MCacheMaxStreamingBuffer 65536

MCacheSize 700000

CacheEnable mem /views/jscript

CacheEnable mem /views/styles

CacheEnable mem /views/Images

CacheEnable mem /images

</IfModule>





The intension here is to cache the javascript , Images , CSS , which is=20
not working .Do we need to change on apache configuration to achive=20
mem_cache working with proxypass. We used ab to test this. Can anybody poin=
t out what we are missing here.

--Sachin Gopalkrishnan









--001636c927c1a915c50481d1623d--

Re: mem_cache issue.

am 15.03.2010 15:15:25 von Eric Covener

On Mon, Mar 15, 2010 at 2:56 AM, Sachin Gopal wrote=
:
> Hi,
>
> The environment is=A0 OS : CentOS 64 Bit , Apache 2.2.14, compile options=
:
> --enable-proxy-balancer --enable-rewrite --enable-mods-shared=3Dall
> --enable-logio --enable-deflate --enable-ssl --enable-proxy
> --enable-proxy-http --enable-modules=3Dall --enable-cache --enable-disk-c=
ache
> --enable-mem-cache. This compiles=A0 successfully .
>
>
> =A0 We did a virtualhost setup on the same . the actual site is on Zope a=
nd we
> are using virtualhosting on apache and doing proxypass which works great =
..
> we are using mod_cache and mod_mem_cache on the same hosted site to get t=
he
> proxy contents (like images/js/css) to be cached from a particular URL wh=
ich
> are actually on Zope hosted application.
>
>
> MCacheMaxObjectCount 13001
> MCacheMaxObjectSize 6400000
> MCacheMaxStreamingBuffer 65536
> MCacheSize 700000
> CacheEnable mem /views/jscript
> CacheEnable mem /views/styles
> CacheEnable mem /views/Images
> CacheEnable mem /images
>

>
>
> The intension here is to cache the javascript , Images , CSS , which is n=
ot
> working .Do we need to change on apache configuration to achive mem_cache
> working with proxypass. We used ab to test this. Can anybody point out wh=
at
> we are missing here.

Is the module loaded? What's logged at LogLevel debug when you send a
request whose response should be cached? What happens on the
subsequent request?


--=20
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: mem_cache issue.

am 22.03.2010 11:19:38 von Sachin Gopal

--00163630f445d536d90482610808
Content-Type: text/plain; charset=ISO-8859-1

Hello Eric ,

Thanks for the prompt reply .

Is the module loaded?
Ans : Yes.
What's logged at LogLevel debug when you send a request whose response
should be cached? What happens on the subsequent request?
Ans : On the Log , The request hits to the Apache , and pulls the requested
(js/css/gif) from the backend zope server. where as on the next subsequent
requests also it continues to pull the requested (js/css/gif) from the
backend.
PS: We are using mem_cache with ProxyPass .

conf:

ProxyPass /
http://localhost:8080/VirtualHostBase/http/test.cache.org/cm s/ZeUI/VirtualHostRoot/
ProxyPassReverse / http://test.cache.org

Here : localhost:8080 - is backed zope server.


Regards
Sachin
===


---------- Forwarded message ----------
From: Eric Covener
Date: Mon, Mar 15, 2010 at 7:45 PM
Subject: Re: [users@httpd] mem_cache issue.
To: users@httpd.apache.org


On Mon, Mar 15, 2010 at 2:56 AM, Sachin Gopal wrote:
> Hi,
>
> The environment is OS : CentOS 64 Bit , Apache 2.2.14, compile options :
> --enable-proxy-balancer --enable-rewrite --enable-mods-shared=all
> --enable-logio --enable-deflate --enable-ssl --enable-proxy
> --enable-proxy-http --enable-modules=all --enable-cache
--enable-disk-cache
> --enable-mem-cache. This compiles successfully .
>
>
> We did a virtualhost setup on the same . the actual site is on Zope and
we
> are using virtualhosting on apache and doing proxypass which works great .
> we are using mod_cache and mod_mem_cache on the same hosted site to get
the
> proxy contents (like images/js/css) to be cached from a particular URL
which
> are actually on Zope hosted application.
>
>
> MCacheMaxObjectCount 13001
> MCacheMaxObjectSize 6400000
> MCacheMaxStreamingBuffer 65536
> MCacheSize 700000
> CacheEnable mem /views/jscript
> CacheEnable mem /views/styles
> CacheEnable mem /views/Images
> CacheEnable mem /images
>

>
>
> The intension here is to cache the javascript , Images , CSS , which is
not
> working .Do we need to change on apache configuration to achive mem_cache
> working with proxypass. We used ab to test this. Can anybody point out
what
> we are missing here.

Is the module loaded? What's logged at LogLevel debug when you send a
request whose response should be cached? What happens on the
subsequent request?


--
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




--
Sachin Gopal

--00163630f445d536d90482610808
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable


Hello Eric ,

Thanks for the prompt reply .

Is the module=
loaded?
Ans : Yes.
What's logged at LogLevel debug when you send=
a request whose response should be cached? What happens on the subsequent =
request?

Ans : On the Log , The request hits to the Apache , and pulls the requested=
(js/css/gif) from the backend zope server. where as on the next subsequent=
requests also it continues to pull the requested (js/css/gif) from the bac=
kend.

PS: We are using mem_cache with ProxyPass .

conf:

ProxyPass =
/ ZeUI/VirtualHostRoot/">http://localhost:8080/VirtualHostBase /http/test.cach=
e.org/cms/ZeUI/VirtualHostRoot/


ProxyPassReverse / http://test.cache.org<=
/a>

Here : localhost:8080 - is backed zope server.


Regard=
s
Sachin
===3D


---------- =
Forwarded message ----------

From: Eric Covener <=
covener@gmail.com >>
Date: Mon, Mar 15, 2010 at 7:45 PM

Subject: Re: [users@httpd] mem_cache issue.
To:
httpd.apache.org" target=3D"_blank">users@httpd.apache.org


<=
div>
On Mon, Mar 15, 2010 at 2:56 AM, Sachin Gopal < ef=3D"mailto:gopalsachin@gmail.com" target=3D"_blank">gopalsachin@gmail.com=
> wrote:



> Hi,

>

> The environment is=A0 OS : CentOS 64 Bit , Apache 2.2.14, compile opti=
ons :

> --enable-proxy-balancer --enable-rewrite --enable-mods-shared=3Dall >
> --enable-logio --enable-deflate --enable-ssl --enable-proxy

> --enable-proxy-http --enable-modules=3Dall --enable-cache --enable-dis=
k-cache

> --enable-mem-cache. This compiles=A0 successfully .

>

>

> =A0 We did a virtualhost setup on the same . the actual site is on Zop=
e and we

> are using virtualhosting on apache and doing proxypass which works gre=
at .

> we are using mod_cache and mod_mem_cache on the same hosted site to ge=
t the

> proxy contents (like images/js/css) to be cached from a particular URL=
which

> are actually on Zope hosted application.

>

> <IfModule mod_mem_cache.c>

> MCacheMaxObjectCount 13001

> MCacheMaxObjectSize 6400000

> MCacheMaxStreamingBuffer 65536

> MCacheSize 700000

> CacheEnable mem /views/jscript

> CacheEnable mem /views/styles

> CacheEnable mem /views/Images

> CacheEnable mem /images

> </IfModule>

>

>

> The intension here is to cache the javascript , Images , CSS , which i=
s not

> working .Do we need to change on apache configuration to achive mem_ca=
che

> working with proxypass. We used ab to test this. Can anybody point out=
what

> we are missing here.



Is the module loaded? What's logged at LogLevel debug when =
you send a

request whose response should be cached? What happens on the

subsequent request?





--

Eric Covener

covener@gmail.com >



------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:
lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g" target=3D"_blank">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd.apache.=
org


For additional commands, e-mail: org" target=3D"_blank">users-help@httpd.apache.org






--
Sachin Gopal


--00163630f445d536d90482610808--

Re: mem_cache issue.

am 22.03.2010 12:29:52 von Eric Covener

On Mon, Mar 22, 2010 at 6:19 AM, Sachin Gopal wrote:
>
> Hello Eric ,
>
> Thanks for the prompt reply .
>
> Is the module loaded?
> Ans : Yes.
> What's logged at LogLevel debug when you send a request whose response
> should be cached? What happens on the subsequent request?
> Ans : On the Log , The request hits to the Apache , and pulls the requested
> (js/css/gif) from the backend zope server. where as on the next subsequent
> requests also it continues to pull the requested (js/css/gif) from the
> backend.

Post the verbatim log entries instead of summarizing them.

--
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org